Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for tensor_names (0.26 sec)

  1. tensorflow/cc/tools/freeze_saved_model.cc

        (*name_to_node_map)[node->name()] = node;
      }
    }
    
    // Strips off the tensor part of the tensor_name to get the node_name.
    const string GetNodeNameFromTensorName(string tensor_name) {
      if (tensor_name[0] == '^') {
        tensor_name.erase(0, 1);
      }
      std::vector<string> tensor_name_parts = str_util::Split(tensor_name, ':');
      return tensor_name_parts[0];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        because the tensors are loaded asynchronously.
    
      }];
    
      let arguments = (ins
        TFTensorType:$prefix,
        TFTensorType:$tensor_names,
        TFTensorType:$shape_and_slices,
        Variadic<TFTensorType>:$var_handles,
        TypeArrayAttr: $restored_dtypes,
        DenseBoolArrayAttr: $truncate_in_cast
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/cc/tools/freeze_saved_model_test.cc

      }
    
      // Runs and compares the outputs of `tensor_name` on both the
      // `unfrozen_session` and the `frozen_graph_def.
      void RunAndCompareFrozenAndUnfrozenGraphs(Session* unfrozen_session,
                                                const GraphDef& frozen_graph_def,
                                                const string& tensor_name) {
        std::vector<Tensor> unfrozen_outputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/pjrt_device_context.cc

      } else {
        return first_try_buffer.status();
      }
    }
    }  // namespace
    
    void PjRtDeviceContext::CopyDeviceTensorToCPU(const Tensor* device_tensor,
                                                  absl::string_view tensor_name,
                                                  Device* device,
                                                  Tensor* cpu_tensor,
                                                  StatusCallback done) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:49:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpAddInput(op, in, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(in));
      TFE_OpSetAttrString(op, "tensor_name", "dummy", 5);
      TFE_OpSetAttrString(op, "send_device", send_device.c_str(),
                          send_device.size());
      TFE_OpSetAttrString(op, "recv_device", recv_device.c_str(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_device_context.cc

        });
        if (!status.ok()) {
          done(status);
        }
      }
    }
    
    void XlaDeviceContext::CopyDeviceTensorToCPU(const Tensor* device_tensor,
                                                 absl::string_view tensor_name,
                                                 Device* device, Tensor* cpu_tensor,
                                                 StatusCallback done) {
      if (device_tensor->NumElements() == 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir

      // CHECK: [[rendezvous_key_base:%.*]], [[result_future:%.*]] = tf_mlrt_tpu.compile_and_execute([[recv]])
      // CHECK: tf_mlrt.await [[result_future]]
      %0 = "tf.Recv"() {__op_key = 0: i32, device = "/device:CPU:0", tensor_name = "tensor", send_device = "/device:CPU:0", send_device_incarnation = 0, recv_device = "/device:CPU:0"} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top