Questions tagged [bidirectional]

"Bidirectional" refers to any process or structure that works in two directions. Use the tag `bidi` for bidirectional text instead of this tag.

"Bidirectional" is a general concept and can have a lot of meanings:

  • bidirectional text, see
  • bidirectional associations of data
  • bidirectional synchronization
  • bidirectional mapping
  • bidirectional communication
  • bidirectional search algorithms

See also: https://en.wikipedia.org/wiki/Bidirectional

493 questions
1
vote
0 answers

ValueError: not enough values to unpack (expected 5, got 3) Bidirectional GRU attention based Keras

I wanted to implement attention based Bidirectional GRU model lstm = layers.Bidirectional(layers.GRU(20, return_sequences = True, dropout=0.8), name="bi_lstm_0")(embedded_sequences) # Getting our LSTM outputs (lstm, forward_h, forward_c,…
1
vote
1 answer

Be sure that a gRPC bi-directional streaming message is arrived to the client

I'm making a little Java gRPC project, where i use multiple gRPC services. One of such services is a bi-directional stream. I'd like to know how can I be sure that a message from the "server" is arrived to all the clients. For example, let's say I…
tucossss
  • 63
  • 1
  • 1
  • 7
1
vote
2 answers

IdentifierGenerationException: attempted to assign id from null one-to-one property + @MapsId + OneToOne bidirectional

I'm getting error org.hibernate.id.IdentifierGenerationException: attempted to assign id from null one-to-one property. The code snippets: User.java @Entity @Table(schema = "public", name = "user_01") public class User { @Id …
maris
  • 718
  • 7
  • 8
1
vote
1 answer

loading different scss file based on current language - nuxt

i'm trying to implement rtl/ltr in my nuxt application. this is my project structure |--assets |--scss |--**/*.scss |--bundle.scss |--bundle-rtl.scss so styles are compiled into the bundle and bundle-rtl normally. the problem is…
Yahia Ali
  • 23
  • 3
1
vote
1 answer

How to use LSTM layers in CSV

I am try to make a project in which farming advice are generated based on weather condition on a specific district. I have a sample dataset for now, as shown…
1
vote
1 answer

ValueError with Shapes using Bidirectional LSTM

I am trying to implement a Bidirectional LSTM for a sequence-to-sequence model. I have already one-hot-encoded my sequences with 12 total features. The input is 11 steps while the output is 23 steps. First, I coded this LSTM implementation that…
ksivakumar
  • 481
  • 2
  • 5
  • 19
1
vote
2 answers

TDateEdit cannot LiveBinding with a datasource bidirection

This is a simple question. Start a multidevice App, place a TDateEdit and DBTable with a field containing TdateTime data. Then use LiveBinding designer link the data source field to TDateEdit.DateTime property. However, this link is unidirectional ,…
Haizhou
  • 127
  • 7
1
vote
2 answers

Efficient, DRY bi-directional lookup in both python and C++

In our workflow, we have a few tables of integer ID <-> string name mappings (e.g., status/error codes, hardware IDs, etc.). We are trying to find the best way to write a bidirectional lookup library for these values in both C++ and python. The…
thegreatemu
  • 495
  • 2
  • 11
1
vote
1 answer

Bidirectional Layer: Dimension value must be integer or None or have an __index__ method, got value '1932.0' with type ''

It's my first time I work with Bidirectional layers, but I don't find any examples with the use of the functional API from Keras. mask_mastrix is a tensor with shape (samples, timesteps) with binary values True / False. with strategy.scope(): …
1
vote
0 answers

Bidirectional Javascript - Swift bridge for common business logic

I'm looking for a solution to setup a swift SDK (e.g. framework) that access shared business logic from a javascript bundle (shared with for example an android app or SDK). I don't want to use webviews etc... shared business logic in javascript…
1
vote
0 answers

Uni-Directional text editor Rtl And bidi?

I have a problem regarding rendering Arabic letters in a normal situation Arabic letters are rendered from right to left except numbers that's exactly what i want to do i want to make it full RTL not just the letters. I have found a way of doing it…
1
vote
1 answer

Setting language, text direction and alignment in word document created by visual basic in excel

I've made an excel visual basic script that takes data from an excel sheet, and produces a paragraph in a word sheet for each row. The default language for the document is Hebrew, with text aligned right and direction right to left. For one (the…
Ernst
  • 103
  • 1
  • 3
  • 8
1
vote
2 answers

Broadcasting message from grpc server to all/some connected clients in python

i am learning how to use grpc streams to exchange messages between clients and server in python. I found a base example that enables the simple message sending between server and client. I am trying to modify it so that i could keep track of all the…
1
vote
1 answer

Hibernate JPA one to one bidirectional mapping with shared primary key foreign key field is null (hb can't set it automatically)

So I was trying to get some unidirectional one-to-one mapping the last day and after some testing I decided to try out the other approach. Is stumbled upon a problem when I tried to persist my entities. I can't find a way to force hibernate to…
1
vote
0 answers

Can I embed the Many side of a Spring Data Rest/JPA Bi-directional OneToMany as an Array when GETing the One side

I am exploring Spring Data Rest with a bidirectional mapping. I have two tables One & Many for clarity One table @OneToMany( mappedBy = "one") @JsonBackReference List many; Many table @ManyToOne(fetch = FetchType.LAZY, cascade =…
Con A
  • 51
  • 4