Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for tf_outputs (0.25 sec)

  1. tensorflow/c/c_api_experimental.cc

      if (dequeue_op == nullptr) {
        status->status = tensorflow::errors::Internal(
            "Unable to find the dequeue node in the TF graph.");
        return nullptr;
      }
    
      VLOG(1) << "Running the dequeue op";
      TF_Output output{dequeue_op, 0};
      TF_Tensor* ret;
      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
                    /*inputs*/ nullptr, /*input_values*/ nullptr, /*ninputs*/ 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      TF_SetAttrType(id_descr, "T", TF_INT32);
      TF_AddInput(id_descr, {arg, 0});
      TF_Operation* id = TF_FinishOperation(id_descr, status);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TF_Output input{arg, 0};
      TF_Output output{id, 0};
      TF_Function* fn =
          TF_GraphToFunction(function_graph, "ident", 0, 1, &id, 1, &input, 1,
                             &output, nullptr, nullptr, "test", status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    //
    // Assumes that the provided 'ctx' outlives the returned TFE_Op, i.e.,
    // TFE_DeleteOp() is called before TFE_DeleteContext().
    //
    // Very similar to TF_OperationDescription with some differences:
    // (1) TF_Output or TFE_TensorHandle* as arguments to TF_AddInput,
    //     TF_AddInputList
    // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense.
    // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      NodeDefBuilder recv_at_host_builder(
          absl::StrCat("outside_compilation_", oc_cluster_name, "_recv"),
          "_XlaRecvAtHost");
      NodeDef recv_at_host_def;
      recv_at_host_builder.Attr("Toutputs", recv_at_host_dtypes);
      // The correct device_ordinal will be inserted during replication in a
      // subsequent rewrite.
      AttrValue device_ordinal_value;
      device_ordinal_value.set_placeholder("_device_ordinal");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      }
      Node *recv_at_host = node_name_image["outside_compilation_cluster__0_recv"];
      EXPECT_NE(recv_at_host, nullptr);
      std::vector<DataType> recv_at_host_dtypes;
      TF_CHECK_OK(
          GetNodeAttr(recv_at_host->attrs(), "Toutputs", &recv_at_host_dtypes));
      EXPECT_EQ(recv_at_host_dtypes.size(), 3);
      EXPECT_EQ(recv_at_host_dtypes[0], DT_INT32);
      EXPECT_EQ(recv_at_host_dtypes[1], DT_FLOAT);
      EXPECT_EQ(recv_at_host_dtypes[2], DT_INT32);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      typedef OperatorT NativeTableType;
      typedef OperatorBuilder Builder;
      enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
        VT_OPCODE_INDEX = 4,
        VT_INPUTS = 6,
        VT_OUTPUTS = 8,
        VT_BUILTIN_OPTIONS_TYPE = 10,
        VT_BUILTIN_OPTIONS = 12,
        VT_CUSTOM_OPTIONS = 14,
        VT_CUSTOM_OPTIONS_FORMAT = 16,
        VT_MUTATING_VARIABLE_INPUTS = 18,
        VT_INTERMEDIATES = 20,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      "tf._SomeOp"(%0#1, %0#0) : (tensor<!tf_type.resource>, tensor<f32>) -> ()
      // CHECK: "tf._SomeOp"(%[[ARG2]], %[[IF_OUTPUT]]) : (tensor<!tf_type.resource>, tensor<f32>) -> ()
      "tf._SomeOp"(%0#3, %0#2) : (tensor<!tf_type.resource>, tensor<f32>) -> ()
      // CHECK: return %[[IF_OUTPUT]] : tensor<f32>
      func.return %0#2 : tensor<f32>
    }
    
    // CHECK-LABEL: func @eliminatePassThroughCaseRegion(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:            "tf._XlaSendFromHostV2"(%[[E_OUTPUT]], %[[PROGRAM_OUTPUT]], %[[DEVICE_ORDINAL]])
        // CHECK:            %[[F_OUTPUT:[0-9]*]] = "tf.F"(%[[C_OUTPUT]]#1)
        // CHECK:            "tf._XlaSendFromHostV2"(%[[F_OUTPUT]], %[[PROGRAM_OUTPUT]], %[[DEVICE_ORDINAL]])
        // CHECK:            %[[RECV_OUTPUT2:[0-9]*]]:2 = "tf._XlaRecvAtHostV2"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        Res<Variadic<TF_Tensor>, [{A list of tensors that will be returned to the device.}]>:$outputs
      );
    
      TF_DerivedOperandTypeListAttr Tinputs = TF_DerivedOperandTypeListAttr<0>;
      TF_DerivedResultTypeListAttr Toutputs = TF_DerivedResultTypeListAttr<0>;
    }
    
    def TF_ConfigureAndInitializeGlobalTPUOp : TF_Op<"ConfigureAndInitializeGlobalTPU", []> {
      let summary = [{
    An op that initialize the TPU system in a multi-client set up.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

       return %ret : tensor<10x10xf32>
    }
    '''
    
    @tf.function
    def foo(x, y):
      return mlir_passthrough_op([x, y], mlir_module, Toutputs=[tf.float32])
    
    graph_def = foo.get_concrete_function(tf.TensorSpec([10], tf.float32), tf.TensorSpec([10], tf.float32)).graph.as_graph_def()
    ```
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top