Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for cond_input (0.17 sec)

  1. tensorflow/c/while_loop_test.cc

      EXPECT_TRUE(params_->body_graph != nullptr);
      EXPECT_TRUE(params_->cond_graph != nullptr);
    
      EXPECT_EQ(params_->ninputs, 2);
    
      ASSERT_TRUE(params_->cond_inputs != nullptr);
      ASSERT_TRUE(params_->cond_inputs[0].oper != nullptr);
      EXPECT_TRUE(params_->cond_inputs[1].oper != nullptr);
    
      ASSERT_TRUE(params_->body_inputs != nullptr);
      EXPECT_TRUE(params_->body_inputs[0].oper != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // WhileOp
    //===----------------------------------------------------------------------===//
    
    static LogicalResult VerifyWhileTypes(Operation *op, TypeRange cond_input,
                                          TypeRange body_input,
                                          TypeRange body_result,
                                          bool shape_invariant) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        if (!CreateInput(inputs[i], cond_graph, StrCat("cond_input", i).c_str(),
                         &cond_inputs[i], status)) {
          break;
        }
        if (!CreateInput(inputs[i], body_graph, StrCat("body_input", i).c_str(),
                         &body_inputs[i], status)) {
          break;
        }
      }
    
      TF_WhileParams params = {ninputs,    cond_graph,  cond_inputs,  cond_output,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir

        %arg0: tensor<f32> {tf_saved_model.index_path = [0, "foo"]},
        %arg1: tensor<!tf_type.resource<tensor<1x64xf32>>> {tf_saved_model.bound_input = @some_constant},
        %arg2: tensor<!tf_type.resource<tensor<?x64xf32>>> {tf_saved_model.bound_input = @some_variable}
      ) -> (
        tensor<f32> {tf_saved_model.index_path = [0, "bar"]}
      ) attributes { tf_saved_model.exported_names = ["some_func"] }
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_deduplicate_bound_input_bindings.mlir

      // CHECK: %arg1: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @w}
      // CHECK: %arg2: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @x}
      // CHECK-NOT: %arg3
      // CHECK-NOT: %arg4
      func.func @f(
        %arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      // expected-error@+1 {{'tf_saved_model.bound_input' attribute should be a FlatSymbolRefAttr}}
      func.func @f(
        %arg0: tensor<f32> {tf_saved_model.bound_input = 1 : i32}
      ) attributes { tf_saved_model.exported_names = ["foo.some_func"] } {
        func.return
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables.mlir

      // CHECK:    %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf_saved_model.bound_input = @"dense/bias"})
    
      // CHECK:  func @f2(
      // CHECK:    %arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf_saved_model.bound_input = @"dense/kernel"},
      // CHECK:    %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf_saved_model.bound_input = @"dense/bias"})
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

      func.func @f(%arg1: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @"v"}, %arg2: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @"v2"})
      attributes {tf_saved_model.exported_names = ["f"]} {
        // CHECK-DAG: "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      // CHECK: func @h(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @c})
      func.func @h(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @c})
      attributes {tf_saved_model.exported_names = ["h"]} {
        %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        func.return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

            if (func.getArgAttrOfType<FlatSymbolRefAttr>(i, bound_input)) {
              func.removeArgAttr(i, bound_input);
            }
            func.removeArgAttr(i, index_path);
          }
          for (unsigned i = 0, e = func.getNumResults(); i != e; ++i) {
            func.removeResultAttr(i, bound_input);
            func.removeResultAttr(i, index_path);
          }
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top