Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 253 for default_value (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

      (TF_LookupTableFindOp:$src (TF_HashTableOp $container, $shared_name,
        $use_node_name_sharing, $key_dtype, $value_dtype), $keys, $default_value),
      (TF_LookupTableFindV2Op:$dest1 (TF_HashTableV2Op:$dest2 $container, $shared_name,
        $use_node_name_sharing, $key_dtype, $value_dtype), $keys, $default_value),
      [], [(CopyAttrs $src, $dest1), (CopyAttrs $src, $dest2)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        "'int'} attr : { name: 'w_scale' type: 'float'} attr : { name: 'x_scale' "
        "type: 'float'} attr : { name: 'y_scale' type: 'float'} attr { name: "
        "'detections_per_class' type: 'int' default_value { i : 100 }} attr { "
        "name: 'use_regular_nms' type: 'bool' default_value { b : false }}";
    
    constexpr mlir::StringRef kUnidirectionalSequenceLstmOp =
        "name: 'UnidirectionalSequenceLstm' input_arg: {name: 'Input' type: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. tensorflow/c/ops_test.cc

          ASSERT_EQ(2, op.attr_size());
          ASSERT_EQ("int", op.attr(0).type());
          ASSERT_EQ(2, op.attr(0).minimum());
          ASSERT_EQ("string", op.attr(1).type());
          ASSERT_EQ("my string", op.attr(1).default_value().s());
          found = true;
        }
      }
      ASSERT_TRUE(found);
      TF_DeleteStatus(status);
      TF_DeleteBuffer(op_list_buffer);
    }
    
    #define C_CTX(x) reinterpret_cast<TF_ShapeInferenceContext*>(x)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeSparseToDense : Pat<
      (TF_SparseToDenseOp $sparse_indices, $output_shape, $sparse_values,
        $default_value, $validate_indices),
      (TFL_SparseToDenseOp $sparse_indices, $output_shape, $sparse_values,
        $default_value)>;
    
    def LegalizeUnique : Pat<(TF_UniqueOp $arg0),(TFL_UniqueOp $arg0)>;
    
    def LegalizeFloorMod : Pat<(TF_FloorModOp $arg0, $arg1),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

            key_index=lookup_ops.TextFileIndex.WHOLE_LINE,
            value_dtype=dtypes.int64,
            value_index=lookup_ops.TextFileIndex.LINE_NUMBER,
        )
        table = lookup_ops.StaticHashTable(init, default_value=-1)
    
        input_vocabs_placeholder = array_ops.placeholder(
            dtypes.string, shape=(None,), name='input_vocabs'
        )
    
        # Introduce a matmul op that takes the lookup values to observe the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    dense[i] = (i == sparse_indices ? sparse_values : default_value)
    
    # If sparse_indices is a vector, then for each i
    dense[sparse_indices[i]] = sparse_values[i]
    
    # If sparse_indices is an n by d matrix, then for each i in [0, n)
    dense[sparse_indices[i][0], ..., sparse_indices[i][d-1]] = sparse_values[i]
    ```
    
    All other values in `dense` are set to `default_value`.  If `sparse_values` is a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

              name: "config"
              type: "string"
              default_value {
                s: ""
              }
            }
            attr {
              name: "config_proto"
              type: "string"
              default_value {
                s: ""
              }
            }
            attr {
              name: "executor_type"
              type: "string"
              default_value {
                s: ""
              }
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/cpp/views/op_argument_view.cc

    }
    
    string OpArgumentView::Initializer() const {
      if (default_value_.empty()) {
        return "";
      }
      return absl::Substitute(" = $0", default_value_);
    }
    
    bool OpArgumentView::HasDefaultValue() const { return !default_value_.empty(); }
    
    OpArgumentView::OpArgumentView(string type, string var, string def)
        : type_name_(type), variable_name_(var), default_value_(def) {}
    
    OpArgumentView::OpArgumentView(ArgSpec arg)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    The scalar `default_value` is the value output for keys not present in the
    table. It must also be of the same type as the table values.
      }];
    
      let arguments = (ins
        Arg<TF_StrTensor, [{Handle to the table.}], [TF_LookupTableRead]>:$table_handle,
        Arg<TF_Tensor, [{Any shape.  Keys to look up.}]>:$keys,
        TF_Tensor:$default_value
      );
    
      let results = (outs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        @SuppressWarnings("unchecked") // Assume all default values are generics safe.
        T defaultValue = (T) defaultValues.getInstance(rawType);
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top