Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for _handle_shapes (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

                                handle_shapes_attr.mutable_list()->add_shape());
          }
    
          (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr;
          (*node_def->mutable_attr())["_handle_shapes"] = handle_shapes_attr;
        }
      }
    
      TF_RETURN_IF_ERROR(
          SetShapeAttribute("_output_shapes", arg_type, node_def->mutable_attr()));
    
      DataType dtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

                                handle_shapes_attr.mutable_list()->add_shape());
          }
    
          (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr;
          (*node_def->mutable_attr())["_handle_shapes"] = handle_shapes_attr;
        }
      }
    
      TF_RETURN_IF_ERROR(
          SetShapeAttribute("_output_shapes", arg_type, node_def->mutable_attr()));
    
      DataType dtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    }
    
    bool IsResourceOutputShapesAttribute(const AttrValue& attr_value,
                                         llvm::StringRef attr_name) {
      if (attr_name == "_handle_dtypes" || attr_name == "_handle_shapes")
        return attr_value.value_case() == AttrValue::kList;
      return false;
    }
    
    void LoadImporterDialects(mlir::MLIRContext& context) {
      // Load dialects involved in the conversion
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.cc

        return errors::InvalidArgument(
            "Mismatched resource types: ", DataTypeString(a.handle_type), " vs. ",
            DataTypeString(b.handle_type));
      }
      TF_RETURN_IF_ERROR(
          a.handle_shape.MergeWith(b.handle_shape, &result.handle_shape));
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/shape_inference.h

      // Shape of the argument tensor.
      PartialTensorShape shape;
    
      // If the argument is a resource variable, the type and shape of the
      // variable's value.
      DataType handle_type = DT_INVALID;
      PartialTensorShape handle_shape;
    };
    typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo;
    
    // Infer shapes for all Tensors in a graph, and save them in a map.  The vector
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/shape_inference_test.cc

      EXPECT_NE(iter, shape_info.end());
      EXPECT_EQ(iter->second.size(), 1);
      EXPECT_EQ(iter->second.at(0).handle_type, DT_FLOAT);
      TensorShape resource_shape;
      EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape));
      EXPECT_EQ(resource_shape, TensorShape({2, 3}));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    0&&(a=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),a===void 0&&(a=e.DOUBLE_QUOTE),a},t._syncRawValue=function(){var n=(0,Fr.default)(this._value,ua[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},t._handleEscapes=function(n,a){if(this._constructed){var s=(0,Fr.default)(a,{isIdentifier:!0});s!==a?this.raws[n]=s:delete this.raws[n]}},t._spacesFor=function(n){var a={before:"",after:""},s=this.spaces[n]||{},o=this.raws.spaces&&this.raws.spaces[n]||{};return...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (0)
Back to top