Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for variable_node (0.67 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/force_shared_name_for_resource_ops.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-upgrade-legacy %s -tf-output-arrays=hash_table_node,variable_node,variable_v2_node -o - | FileCheck %s
    
    node: {
      name: "hash_table_node"
      op: "HashTableV2"
      attr: {
        key: "key_dtype"
        value: {
          type: DT_INT32
        }
      }
      attr: {
        key: "shared_name"
        value: {
          s: ""
        }
      }
      attr: {
        key: "value_dtype"
        value: {
          type: DT_FLOAT
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 31 02:37:48 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt

        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 1
            }
          }
        }
      }
    }
    node {
      name: "variable_node"
      op: "Const"
      input: "^input"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

    // Create a variable handle with name `variable_name` on a device with name
    // `device_name`.
    TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx,
                                      const tensorflow::string& device_name,
                                      const tensorflow::string& variable_name);
    
    // Create a variable with value `value` and name `variable_name` on a device
    // with name `device_name`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. ci/official/requirements_updater/updater_config_repository.bzl

    '''
     Repository rule to set some environment variables.
     Can be set via build parameter "--repo_env=<VARIABLE_NAME>=<value>"
     e.g "--repo_env=REQUIREMENTS_FILE_NAME=requirements.in"
    
     List of variables:
     REQUIREMENTS_FILE_NAME
    '''
    
    def _updater_config_repository_impl(repository_ctx):
        repository_ctx.file("BUILD", "")
        requirements_file_name = repository_ctx.os.environ.get("REQUIREMENTS_FILE_NAME", "requirements.in")
        repository_ctx.file(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 18:17:57 UTC 2023
    - 718 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

        StringAttr device_attr =
            variable_v2_op->getAttrOfType<StringAttr>("device");
        if (!device_attr) device_attr = builder.getStringAttr("");
        StringRef variable_name =
            GetNodeNameFromClassAttrOrSharedNameAttr(variable_v2_op);
        if (variable_name.empty()) {
          return signalPassFailure();
        }
        VarHandleOp var_handle_op = builder.create<VarHandleOp>(
            variable_v2_op.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

      for (auto func_op : module.getOps<func::FuncOp>()) {
        for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) {
          auto variable_name = GetVariableName(var_handle_op);
          if (variable_names.count(variable_name)) continue;
          var_ops.emplace_back(var_handle_op);
          variable_names.insert(variable_name);
        }
      }
    
      // Get resources from Session.
      auto resource_tensors_or = GetResourcesFromSession(var_ops, session);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top